<h1>底部分类</h1>

<table class="table table-striped table-bordered table-hover">
  <thead>
    <tr>
      <th>类名</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @abouts.each do |about| %>
      <tr>
        <td><%= about.name %></td>
        <td><%= link_to 'Show', [:admin, about] %></td>
        <td><%= link_to 'Edit', edit_admin_about_path(about) %></td>
        <td><%= link_to 'Destroy', [:admin, about], method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New About', new_admin_about_path %>
